package com.boot.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author panghu
 * @since 2018-10-31
 */
@Entity
@Table(name = "common_config")
@Getter
@Setter
@ToString
public class CommonConfigModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @Id
    private Integer id;
    /*
     * 游戏开始倒计时（发牌前倒计时）
     */
    private Integer gameStartCd;
    /**
     * 下注倒计时
     */
    private Integer betCd;
    /**
     * 开牌倒计时
     */
    private Integer openCardsCd;
    /**
     * 结算倒计时
     */
    private Integer settleCd;

    @Override
    public String toString() {
        return "CommonConfigModel{" +
                "id=" + id +
                ", gameStartCd=" + gameStartCd +
                ", betCd=" + betCd +
                ", openCardsCd=" + openCardsCd +
                ", settleCd=" + settleCd +
                '}';
    }
}
